import http from '@/utils/http.js'

/**
 *  登录
 * @param {object} data
 * @returns
 */
export function userLogin(data) {
  return http.post('/user/login', data)
}

/**
 * 登出
 */
export function userLogout() {
  return http.post('/user/logout')
}
